package org.pwwong.fxscalautils

import org.pwwong.fxscalautils.components.containers.Canvas
import org.pwwong.fxscalautils.components.Component

import scala.collection.mutable

object DragManager {
  object DragLayer extends Canvas {
    private val _dragComponents = mutable.Set[Component]()
    def addDragComponent(dc:Component) = _dragComponents += dc
    def removeDragComponent(dc:Component) = _dragComponents -= dc
  }
}

